﻿using BaseData.API.Read.Dtos;
using BaseData.ErrorCode;
using MediatR;

namespace BaseData.API.Read.Applications.Commands.Amount
{
    public class AmountQueryCommand:IRequest<ApiResult<ApiPaging<AmountDTO>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; } = 3;
        /// <summary>
        /// 操作编号
        /// </summary>
        public string? OperatingNum { get; set; }
        /// <summary>
        /// 业务id
        /// </summary>
        public int? BusinessId {  get; set; }
        /// <summary>
        /// 业务名称
        /// </summary>
        public string? BusinessName { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? OperatingTime { get; set; } = DateTime.Now;
    }
}
